﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditSearchPropertyItem.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.SearchProperty.EditSearchPropertyItem" %>

<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, dialogAjaxDone);" action="/SystemManage/Basics/SearchProperty/EditSearchPropertyItem.aspx">
    
<!-- 需保存的全局变量 -->
<%--<asp:label runat="server" ID="_uid" Visible="False" ></asp:label>
<asp:label runat="server" ID="_cid" Visible="False" ></asp:label>
    <asp:label runat="server" ID="_pid" Visible="False" ></asp:label>--%>
<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
		<div class="unit" >
			<label>属性名称：</label>
            <asp:TextBox id="txt_property_name" runat="server" class="required" ></asp:TextBox><span>(页面显示)</span>
		</div>
		<div class="unit" style="display:none;">
			<label>属性值：</label>
            <asp:TextBox id="txt_property_value" runat="server"   ></asp:TextBox><span></span>
		</div>
        <div class="unit" style="display:none;">
			<label>搜索值：</label>
            <asp:TextBox id="txt_search_value" runat="server"    ></asp:TextBox><span>(用于搜索)</span>
		</div>
		<div class="unit" style="display:none;">
			<label>属性类型：</label>
            <asp:dropdownlist runat="server" id="ddl_property_type" ></asp:dropdownlist><span></span>
		</div> 
        <div class="unit">
			<label>排序：</label>
            <asp:TextBox id="txt_sort" runat="server" class="digits" min="0"  >0</asp:TextBox><span></span>
		</div>
        
		<div class="unit">
			<label>&nbsp;</label>
            （数字越小排序越靠前）
		</div>
        <%if (_group.ParentId > 0)
          {%>
        <div class="unit">
			<label>上级：</label>
            <%--<asp:dropdownlist  runat="server"  id="group" 
                onchange="changeGroupItem($(this), $(this).val());" 
                DataTextField="PropertyValue" DataValueField="Id"></asp:dropdownlist>

            <select name="group_item" ></select>--%>
            <asp:dropdownlist  runat="server"  id="items" name="items"></asp:dropdownlist>
            
            <span></span>
		</div>
        <%} %>
	</div>
        
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
		</ul>
	</div>  
</div>
</form>